﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace NetBay.Core.BusinessEntities
{
    public interface IEntity
    {
        /// <summary>
        /// Gets or sets the key id.
        /// </summary>
        /// <value>The key id.</value>
        [DataMember]
        [Key]
        Guid KeyId { get; set; }

        /// <summary>
        /// Gets or sets the foreign key1.
        /// </summary>
        /// <value>The foreign key1.</value>
        [DataMember]
        Guid ForeignKey1 { get; set; }
    }
}
